package com.groupten.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import org.springframework.stereotype.Indexed;

import java.io.Serializable;

/**
 * 班级试卷表
 */
@Data
@TableName("class_paper")
public class ClassPaperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type= IdType.AUTO)//设置为自增
    @JsonSerialize(using = ToStringSerializer.class)
    private Long classpaperId;

    /**
    * 班级名
    */
    private String classname;

    /**
     * 参加考试人数
     */
    private Integer attendNumber;

    /**
    * 试卷编号
    */
    private Integer paperSession;

    /**
    * 平均分
    */
    private Double averageScore;

    /**
    * 标准差
    */
    private Double standardDeviation;

    /**
    * 合格率
    */
    private Double passingRate;

    /**
    * 优秀率
    */
    private Double excellentRate;

}
